package com.sgj.service.impl;

import com.sgj.entity.Perms;
import com.sgj.mapper.PermsMapper;
import com.sgj.service.PermsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 权限表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-12-12
 */
@Service
public class PermsServiceImpl extends ServiceImpl<PermsMapper, Perms> implements PermsService {

	@Override
	public List<Perms> findPermsByRoleId(Integer id) {
		return baseMapper.findPermsByRoleId(id);
	}
}
